//
//  HomePageViewController.h
//  FanTest
//
//  Created by Cheng on 12/6/28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SEMasonryView/SEMasonryView.h>
#import <SEMasonryView/SEMasonryCell.h>
#import "DetailViewController.h"
#import "MyBoardUIViewController.h"
#import "AccountInitialization.h"
#import "AccountViewController.h"
#import "FeedSetViewController.h"
#import "Color.h"
#import "Tag.h"
#import "Location.h"
#import "SelectMyPhoto.h"
#import "ChannelView.h"
#import "FilterView.h"
#import "QuestionView.h"

@class HomePageViewController;
@protocol HomePageViewControllerDelegate <NSObject>

-(void)HomePageViewControllerDelegateDidLogoScreen:(HomePageViewController *)controller;

@end

@interface HomePageViewController : UIViewController <SEMasonryViewDelegate,DetailViewControllerDelegate, MyBoardUIViewControllerDelegate, AccountViewControllerDelegate, ColorDelegate,TagDelegate,LocationDelegate,SelectMyPhotoDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIAlertViewDelegate, FeedSetViewControllerDelegate, ChannelViewDelegate, FilterDelegate, QuestionViewDelegate>
{
    UIBarButtonItem *reloadButton;
    IBOutlet UIView *Vw_item;
    IBOutlet UIButton *Bt_Filter;
    IBOutlet UILabel *Lab_Channel;
    IBOutlet Color *Vw_Color;
    IBOutlet Tag *Vw_Tag;
    IBOutlet Location *Vw_Location;
}

@property (nonatomic, strong) UIBarButtonItem *reloadButton;
@property (nonatomic, strong) UIView *Vw_item;
@property (nonatomic, strong) UIButton *Bt_Filter;
@property (nonatomic, strong) UILabel *Lab_Channel;

@property (nonatomic, strong) SEMasonryView *SEMv_masonry;
@property (nonatomic, strong) Color *Vw_Color;
@property (nonatomic, strong) Tag *Vw_Tag;
@property (nonatomic, strong) FilterView *Vw_Filter;
@property (nonatomic, strong) Location *Vw_Location;
@property (nonatomic, strong) SelectMyPhoto *Vw_PhotoList;
@property (nonatomic, strong) ChannelView *Vw_Channel;
@property (nonatomic, strong) QuestionView *Vw_QuestionView;
@property (nonatomic, strong) BK_Enviroment *BK_En_object;

@property (nonatomic, strong) NSMutableArray *Array_photos;
@property (nonatomic, strong) NSMutableArray *Array_AccountInfo;
@property (nonatomic, assign) int GroupID;

@property (nonatomic, weak) id <HomePageViewControllerDelegate> delegate;

-(IBAction)colorPressed:(id)sender;
-(IBAction)tagPressed:(id)sender;
-(IBAction)locationPressed:(id)sender;
-(IBAction)RandomPressed:(id)sender;
-(IBAction)RefreshPressed:(id)sender;
-(IBAction)MyPhotoPressed:(id)sender;
-(IBAction)ChannelPressed:(id)sender;
-(IBAction)QuestionPressed:(id)sender;

@end

